package com.apabi.mapper;

import com.apabi.utils.MyMapper;
import org.apache.ibatis.annotations.Select;

import java.util.Map;


/**
 * Created by huhu on 2018/1/17.
 */
public interface ApiMetaMapper{
    @Select("select * from book where docid = #{docid}")
    Map<String,String> selectBook(String docid);

    @Select("select * from journal where docid = #{docid}")
    Map<String,String> selectJournal(String docid);

    @Select("select * from meeting where docid = #{docid}")
    Map<String,String> selectMeeting(String docid);

    @Select("select * from newspaper where docid = #{docid}")
    Map<String,String> selectNewspaper(String docid);

    @Select("select * from patent where docid = #{docid}")
    Map<String,String> selectPatent(String docid);

    @Select("select * from standard where docid = #{docid}")
    Map<String,String> selectStandard(String docid);

    @Select("select * from thesis where docid = #{docid}")
    Map<String,String> selectThesis(String docid);
}
